package com.example.pocket_demo.entity;

import lombok.Data;

@Data
public class MsgData <T>{
    private Integer code;
    private T data;
    private String msg;

    public MsgData(){}

    public MsgData(Integer code, T data, String msg) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }
}
